<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2023-07-13
  Time: 8:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form class="layui-form" action="user/add" method="post">
    <div class="mainBox">
        <div class="main-container">
            <div class="layui-form-item">
                <label class="layui-form-label">姓名</label>
                <div class="layui-input-block">
                    <input type="text" name="sname" lay-verify="sname" autocomplete="off" placeholder="请输入学生姓名"
                           class="layui-input">
                </div>
            </div>
            <div>
                <label>爱好</label>
                <input type="checkbox" name="likes" value="1"/>唱歌
                <input type="checkbox" name="likes" value="2"/>跳舞
                <input type="checkbox" name="likes" value="250"/>rap
                <input type="checkbox" name="likes" value="251"/>篮球
                <input type="checkbox" name="likes" value="1000"/>足球

            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">学校</label>
                <div class="layui-input-block">
                    <input type="text" name="school" lay-verify="school" autocomplete="off"
                           placeholder="请输入学校名称" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">专业</label>
                <div class="layui-input-block">
                    <input type="text" name="major" lay-verify="major" autocomplete="off" placeholder="请输入专业"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">学业等级</label>
                <div class="layui-input-block">
                    <input type="text" name="type" lay-verify="type" autocomplete="off" placeholder="请输入专业"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">在读状态</label>
                <div class="layui-input-block">
                    <input type="radio" name="isgraduate" value="true" title="在读" checked>
                    <input type="radio" name="isgraduate" value="false" title="毕业">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">注册时间</label>
                <div class="layui-input-block">
                    <input type="date" name="addtime" lay-verify="addtime" autocomplete="off" placeholder=""
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">微信号</label>
                <div class="layui-input-block">
                    <input type="text" name="openid" lay-verify="openid" autocomplete="off" placeholder="请输入微信号"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">手机号码</label>
                <div class="layui-input-block">
                    <input type="text" name="phone" lay-verify="phone"  autocomplete="off"
                           placeholder="请输入手机号码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">性别</label>
                <div class="layui-input-block">
                    <input type="radio" name="sex" value="男" title="男" checked>男
                    <input type="radio" name="sex" value="女" title="女">女
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">地址</label>
                <div class="layui-input-block">
                    <input type="text" name="addr" lay-verify="addr" required autocomplete="off"
                           placeholder="请输入地址" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">密码</label>
                <div class="layui-input-block">
                    <input type="text" name="pass" lay-verify="pass" required autocomplete="off" placeholder="请输入密码"
                           class="layui-input">
                </div>
            </div>
        </div>
    </div>
    <div class="bottom">
        <div class="button-container">
            <button type="submit" class="pear-btn pear-btn-primary pear-btn-sm" lay-submit=""
                    lay-filter="user-save">
                <i class="layui-icon layui-icon-ok"></i>
                提交
            </button>
            <button type="reset" class="pear-btn pear-btn-sm">
                <i class="layui-icon layui-icon-refresh"></i>
                重置
            </button>
        </div>
    </div>
</form>
</body>
</html>
